Platform Explorer / Nuxeo Platform 2021.53

Component org.nuxeo.apidoc.lifecycle.contrib

Resolution Order

44
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.apidoc.lifecycle.contrib">

  <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
    point="lifecycle">

    <lifecycle name="explorer_default" defaultInitial="project">
      <transitions>
        <transition name="approve" destinationState="approved">
          <description>Approve the content</description>
        </transition>
        <transition name="obsolete" destinationState="obsolete">
          <description>Content becomes obsolete</description>
        </transition>
        <transition name="delete" destinationState="deleted">
          <description>Move document to trash (temporary delete)</description>
        </transition>
        <transition name="undelete" destinationState="project">
          <description>Recover the document from trash</description>
        </transition>
        <transition name="backToProject" destinationState="project">
          <description>Recover the document from trash</description>
        </transition>
      </transitions>
      <states>
        <state name="project" description="Default state" initial="true">
          <transitions>
            <transition>approve</transition>
            <transition>obsolete</transition>
            <transition>delete</transition>
          </transitions>
        </state>
        <state name="approved" description="Content has been validated">
          <transitions>
            <transition>delete</transition>
            <transition>backToProject</transition>
          </transitions>
        </state>
        <state name="obsolete" description="Content is obsolete">
          <transitions>
            <transition>delete</transition>
            <transition>backToProject</transition>
          </transitions>
        </state>
        <state name="deleted" description="Document is deleted">
          <transitions>
            <transition>undelete</transition>
          </transitions>
        </state>
      </states>
    </lifecycle>
  </extension>

  <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService" point="types">
    <types>
      <type name="NXExplorerFolder">explorer_default</type>
      <type name="NXDistribution">explorer_default</type>
      <type name="NXBundleGroup">explorer_default</type>
      <type name="NXBundle">explorer_default</type>
      <type name="NXComponent">explorer_default</type>
      <type name="NXService">explorer_default</type>
      <type name="NXExtensionPoint">explorer_default</type>
      <type name="NXContribution">explorer_default</type>
      <type name="NXOperation">explorer_default</type>
    </types>
  </extension>

</component>